home *** CD-ROM | disk | FTP | other *** search
/ Aminet 40 / Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso / Aminet / comm / tcp / SRTG.readme < prev    next >
Text File  |  2000-11-01  |  3KB  |  100 lines

  1. Short:    Simple Router Traffic Grapher for MiamiDx, a MRTG like tool.
  2. Author:   Michael Bruyere (bruyere@nerim.net)
  3. Uploader: Michael Bruyere (bruyere@nerim.net)
  4. Version:  1.0
  5. Type:     comm/tcp
  6. Requires: MiamiDx1.0c (perhaps miami) , OS3.0, gnuplot, grep & cut
  7.  
  8. SRTG monitor your network global traffic load and round trip time,
  9. and plot it in a picture.
  10. It is only a fast made and simple tool. Port of MRTG is difficult
  11. as MiamiDX has no SNMP interface.
  12.  
  13. It use an arexx script (for monitoring) and a Gnuplot script (for plotting)
  14.  
  15.  
  16. Features
  17. --------
  18.     - monitor 
  19.         the global traffic load
  20.         the roundtrip time (ping)
  21.  
  22.     - log all results
  23.         you can show a daily graph with 5mn step (Default)
  24.         or monthly grap, current hour graph ...
  25.         or what you want, just play with the gnnuplot script.
  26.  
  27.  
  28. Install
  29. -------
  30.     - First you need ta have Gnuplot installed, 
  31.       and have it in you command path.
  32.       (you can get it from aminet/gfx/misc/gnuplot-bin.lha)
  33.  
  34.     - I use grep and cut command too (mine are from GeekGadgets)
  35.  
  36.     - Put the SRTG directory somewhere 
  37.       (in 'miami:scripts/' for example)
  38.  
  39.     - Edit the SRTG.rexx script to correct path
  40.  
  41.     - Edit the gnuplot script (SRTG.cmd) if you want to change the name 
  42.           and place of the generated picture.
  43.  
  44.  
  45. Usage
  46. -----
  47.     - start the script rx <path/to/SRTG>/SRTG.rexx [interface]
  48.       You can start it from MiamiDx->Events->Start
  49.  
  50.     The optionnal interface is the name of the interface to monitor.
  51.     (default is default miami interface)
  52.  
  53.     You can put the picture directly on your web server, 
  54.     or ready to be upload on it, with a page to monitor results.
  55.     
  56.  
  57. Note
  58. ----
  59.     - If, your battery backed-up clock is dead, 
  60.       and you're using an NTP server
  61.       to set your computer time, BE CAREFULL !
  62.       Miami start before your call to NTP, so every info
  63.       it return (like onlinetime) take origin at the date and time
  64.           before NTP call ...
  65.       
  66.       I use the following workaround (not nice, but it work)
  67.  
  68.       copy the NTPdelta.rexx script somewhere
  69.       Correct it to use your NTP client (It use facts in french)
  70.  
  71.       and change line 36 of SRTG.rexx
  72.           < timeOffset = 0
  73.       bye > timeOffset = GetTimeOffSet()
  74.  
  75.  
  76. Todo
  77. ----
  78.  
  79. If i found time, a C/C++ program using callback hook feature of Miami should be better.
  80.  
  81.  
  82. Feedback
  83. --------
  84.  
  85. Comments, criticisms or suggestions may be addressed to -
  86. bruyere@homemail.com
  87.  
  88.  
  89. ============================= Archive contents =============================
  90.  
  91. Original  Packed Ratio    Date     Time    Name
  92. -------- ------- ----- --------- --------  -------------
  93.     2353    1183 49.7% 19-Sep-00 21:33:18  SRTG.readme
  94.     1219     536 56.0% 12-Sep-00 08:16:00 +NTPDelta.rexx
  95.      675     391 42.0% 10-Sep-00 23:18:54 +SRTG.cmd
  96.   157679   55629 64.7% 10-Sep-00 14:54:10 +SRTG.dat
  97.     3394    1308 61.4% 19-Sep-00 21:25:50 +SRTG.rexx
  98. -------- ------- ----- --------- --------
  99.   165320   59047 64.2% 23-Sep-100 04:30:34   5 files
  100.